local que_maoling = fk.CreateSkill {
    name = "que_maoling",
    tags = { Skill.Compulsory },
}

Fk:loadTranslationTable {
    ["que_maoling"] = "猫灵",
    [":que_maoling"] = "锁定技，其他角色使用牌指定你为目标前，其手牌中需拥有不同颜色的其他牌。",
}
que_maoling:addEffect("prohibit", {
    is_prohibited = function(self, from, to, card)
        local red = #table.filter(from:getCardIds("h"),
            function(id) return Fk:getCardById(id).color == Card.Red end)
        local black = #table.filter(from:getCardIds("h"),
            function(id) return Fk:getCardById(id).color == Card.Black end)
        return to:hasSkill(que_maoling.name) and from and from ~= to and (red == 0 or black == 0)
    end,
})
return que_maoling
